package com.cloud.pole.mapper;

import java.util.List;
import java.util.Map;

import com.cloud.pole.advert.model.entity.Advert;

import tk.mybatis.mapper.common.Mapper;

public interface AdvertMapper extends Mapper<Advert> {

	List<Advert> selectListByShopId(Map<String, Object> map);
	
	List<Advert> selectPageAll(Integer shopId);
	
	void inserBanner(Advert advert);
	
	Advert selectByAdvertId(Integer id);
	
	void updateEndBanner(Advert advert);
	
	void deleteOpendBanner(Integer id);
}